<?php
$prod=env('APP_ENV')==='prod';

return [

    /*
    |--------------------------------------------------------------------------
    | Encryption Key
    |--------------------------------------------------------------------------
    |
    | This key is used by the Illuminate encrypter service and should be set
    | to a random, 32 character string, otherwise these encrypted strings
    | will not be safe. Please do this before deploying an application!
    |
    */

    'key' => env('APP_KEY', 'SomeRandomString!!!'),
    
    'cipher' => 'AES-256-CBC',

    /*
    |--------------------------------------------------------------------------
    | Application Timezone
    |--------------------------------------------------------------------------
    |
    | Here you may specify the default timezone for your application, which
    | will be used by the PHP date and date-time functions. We have gone
    | ahead and set this to a sensible default for you out of the box.
    |
    */

    'timezone' => 'UTC',

     
    /*
    |--------------------------------------------------------------------------
    | Application Locale Configuration
    |--------------------------------------------------------------------------
    |
    | The application locale determines the default locale that will be used
    | by the translation service provider. You are free to set this value
    | to any of the locales which will be supported by the application.
    |
    */
    'locale' => env('APP_LOCALE', 'en'),
    /*
    |--------------------------------------------------------------------------
    | Application Fallback Locale
    |--------------------------------------------------------------------------
    |
    | The fallback locale determines the locale to use when the current one
    | is not available. You may change the value to correspond to any of
    | the language folders that are provided through your application.
    |
    */


    'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
	'seller_price' => env('SELLER_PRICE', '1000'),
	'seller_limit_number' => env('SELLER_LIMIT_NUMBER', '999'),
	'page_size' => 20,
	'search_max_price' => 1000,
	'free_ship_price' => 1000, # 免运费订单最低额
	'shop_api_url' => $prod ? 'http://shopapi.boqii.com' : 'http://shopapi-dev.boqii.com',
	'vet_api_url' => $prod ? 'http://vet.boqii.com/bqvetadmin.php/ApiAdmin' : 'http://vet-dev.boqii.com/bqvetadmin.php/ApiAdmin',
	'shop_old_api_url' => $prod ? 'http://shopapiold.boqii.com/api/api.php' : 'http://shopapioldtest.boqii.com/api/api.php',
	'o2o_url' => $prod ? 'http://service-api.boqii.com/' : 'http://dev-service-api.boqii.com/',
	'img_url' => $prod ? 'https://api.boqiicdn.com' : 'https://api-dev.boqiicdn.com',
	'shop_img_url' => $prod ? 'https://img.boqiicdn.com/Data/Shop/' : 'https://imgtest.boqiicdn.com/Data/Shop/',
	'img_dir' => $prod ? 'https://img.boqiicdn.com' : 'https://imgtest.boqiicdn.com',
	'erp_api_url' => $prod ? 'http://bqadmin.boqii.com/api/' : 'http://admintest.boqii.com/api/',
	'h5_url' => $prod ? 'https://dis.boqii.com/' : 'https://distest.boqii.com/',
	'h5_share_url' => $prod ? 'http://dis.boqii.com/' : 'http://distest.boqii.com/',
	'petshop_img_dir' => $prod ? 'https://img-new.boqiicdn.com' : 'https://imgtest-new.boqiicdn.com',
	'h5_shop_url' => $prod ? 'https://v.boqii.com' : 'https://vtest.boqii.com/',
	'vet_shop_url' => $prod ? 'https://vet.boqii.com' : 'https://vet-dev.boqii.com/',
];
